﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DFGK_WMS.Model.DTO
{
    public class InformationByBarcodeDto
    {
        /// <summary>
        /// 托盘条码
        /// </summary>
        public string Barcode { get; set; }

        /// <summary>
        /// 满载率
        /// </summary>
        public int? LoadFactor { get; set; } = 0;

        /// <summary>
        /// 出库单号
        /// </summary>
        public string ShippingOrderSn { get; set; }

        public List<InformationByBarcodeChild> child {  get; set; } = new List<InformationByBarcodeChild>();
       
    }

    public class InformationByBarcodeChild
    {
        /// <summary>
        /// 物料名称
        /// </summary>
        public string MaterialName { get; set; }

        /// <summary>
        /// 物料编码
        /// </summary>
        public string MaterialCode { get; set; }

        /// <summary>
        /// 出库数量
        /// </summary>
        public decimal? OutQty { get; set; }

        /// <summary>
        /// 库存数量
        /// </summary>
        public decimal? InventoryQty { get; set; }
    }
}
